package com.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class Movie {
    private int id;
    private String movieName;
    private String movieImgPath;
    private String playingScore;
    private String translateName;
    private String type;
    private String area;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")//HH:24小时制 hh:12小时制
    @JsonFormat(pattern ="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date showTime;
    private String videoPath;
}
